package com.squid.cloud.fuel.purchase.client.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.squid.cloud.fuel.purchase.client.service.hystrix.ServiceFeignImpl;

@FeignClient(value = "squid-cloud-fuel-purchase", fallback = ServiceFeignImpl.class)
public interface ServiceFeign {
	@RequestMapping(value = "/hello")
	String sayHello(@RequestParam(name = "name") String name);
}
